Puppet Continuous Delivery by Ward Bill

Puppet Continuous Delivery by Ward Bill

Author:Ward, Bill [Ward, Bill]
Language: eng
Format: azw3
Published: 2016-03-13T16:00:00+00:00


class sample {

file{'test.txt':

ensure => present,

}

}

Run the rspec tests again.

$ bundle exec rake spec

Write acceptance tests using beaker

Now that we have some basic unit testing capabilities we need to write some acceptance tests using Beaker. Beaker is found on GitHub at https://github.com/puppetlabs/beaker. Install the requirements for beaker first:

$ sudo apt-get install ruby-dev libxml2-dev libxslt1-dev g++ zlib1g-dev

or for RHEL based systems

$ sudo yum install make gcc gcc-c++ libxml2-devel libxslt-devel ruby-devel

Next install Beaker by installed the gem:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.